<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript" charset="utf-8">
	function jisuanZhebiao(obj, zhebiaoid, zhebiaoxishu) {
		$("#" + zhebiaoid).val(Number(obj.value).mul(zhebiaoxishu));
		var zhebiaos = $("input[alt=zhebiao]");
		var zonghaoneng = 0;
		if (zhebiaos && zhebiaos.length > 0) {
			for ( var x = 0; x < zhebiaos.length; x++) {
				if (zhebiaos[x] && '' != $.trim(zhebiaos[x].value) && !isNaN(zhebiaos[x].value)) {
					zonghaoneng = Number(zonghaoneng).add(zhebiaos[x].value);
				}
			}
		}
		$("#company-report-zonghaoneng").val(zonghaoneng);

	}
</script>
<style>
#company-datareport-report-table {
	width: 700px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	border: 1px solid #000000;
	border-collapse: collapse;
	border-spacing: 0;
}

#company-datareport-report-table th {
	border: 1px solid #000000;
}

#company-datareport-report-table td {
	border: 1px solid #000000;
}

#company-datareport-report-top-table {
	width: 650px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	border-collapse: collapse;
	border-spacing: 0;
}
</style>
<p align="center">
	<font size="5">企业报表</font>
</p>
<table id="company-datareport-report-top-table">
	<tr>
		<td><span style="font-size: 14px;">企业名称: ${pageCompanyReport.username}</span> <span style="float: right; font-size: 14px;">修改日期： ${pageCompanyReport.submitTime}</span></td>
	</tr>
</table>
<form id="company-datareport-report-form">
	<table id="company-datareport-report-table">
		<tr>
			<td rowspan="21" align="center">能源指标</td>
		</tr>
		<tr>
			<th align="center">能源种类</th>
			<th align="center">计量单位</th>
			<th align="center">月需要实物量</th>
			<th align="center">参考折标系数</th>
			<th align="center">月需要折标煤量(吨标准煤)</th>
		</tr>
		<tr>
			<td>电力</td>
			<td align="center">（万千瓦时）</td>
			<td><input type="text" value="${pageCompanyReport.dianliShiwu }" name="dianliShiwu" id="dianliShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'dianliZhebiao', '${pageCompanyReport.pzhebiaoXishu.dianliZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.dianliZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.dianliZhebiao }" name="dianliZhebiao" id="dianliZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>天然气</td>
			<td align="center">（万立方米）</td>
			<td><input type="text" value="${pageCompanyReport.tianranqiShiwu }" name="tianranqiShiwu" id="tianranqiShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'tianranqiZhebiao', '${pageCompanyReport.pzhebiaoXishu.tianranqiZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.tianranqiZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.tianranqiZhebiao }" name="tianranqiZhebiao" id="tianranqiZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>热力</td>
			<td align="center">（百万千焦）</td>
			<td><input type="text" value="${pageCompanyReport.dianliShiwu }" name="reliShiwu" id="reliShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'reliZhebiao', '${pageCompanyReport.pzhebiaoXishu.reliZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.reliZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.reliZhebiao }" name="reliZhebiao" id="reliZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>

		<tr>
			<td>原煤</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.dianliShiwu }" name="yuanmeiShiwu" id="yuanmeiShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'yuanmeiZhebiao', '${pageCompanyReport.pzhebiaoXishu.yuanmeiZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.yuanmeiZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.yuanmeiZhebiao }" name="yuanmeiZhebiao" id="yuanmeiZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>洗精煤</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.dianliShiwu }" name="xijingmeiShiwu" id="xijingmeiShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'xijingmeiZhebiao', '${pageCompanyReport.pzhebiaoXishu.xijingmeiZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.xijingmeiZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.xijingmeiZhebiao }" name="xijingmeiZhebiao" id="xijingmeiZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>其他洗煤</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.dianliShiwu }" name="qitaximeiShiwu" id="qitaximeiShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'qitaximeiZhebiao', '${pageCompanyReport.pzhebiaoXishu.qitaximeiZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.qitaximeiZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.qitaximeiZhebiao }" name="qitaximeiZhebiao" id="qitaximeiZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>型煤</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.dianliShiwu }" name="xingmeiShiwu" id="xingmeiShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'xingmeiZhebiao', '${pageCompanyReport.pzhebiaoXishu.xingmeiZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.xingmeiZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.xingmeiZhebiao }" name="xingmeiZhebiao" id="xingmeiZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>原油</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.yuanyouShiwu }" name="yuanyouShiwu" id="yuanyouShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'yuanyouZhebiao', '${pageCompanyReport.pzhebiaoXishu.yuanyouZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.yuanyouZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.yuanyouZhebiao }" name="yuanyouZhebiao" id="yuanyouZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>汽油</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.qiyouShiwu }" name="qiyouShiwu" id="qiyouShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'qiyouZhebiao', '${pageCompanyReport.pzhebiaoXishu.qiyouZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.qiyouZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.qiyouZhebiao }" name="qiyouZhebiao" id="qiyouZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>煤油</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.meiyouShiwu }" name="meiyouShiwu" id="meiyouShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'meiyouZhebiao', '${pageCompanyReport.pzhebiaoXishu.meiyouZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.meiyouZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.meiyouZhebiao }" name="meiyouZhebiao" id="meiyouZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>柴油</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.chaiyouShiwu }" name="chaiyouShiwu" id="chaiyouShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'chaiyouZhebiao', '${pageCompanyReport.pzhebiaoXishu.chaiyouZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.chaiyouZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.chaiyouZhebiao }" name="chaiyouZhebiao" id="chaiyouZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>燃料油</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.ranliaoyouShiwu }" name="ranliaoyouShiwu" id="ranliaoyouShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'ranliaoyouZhebiao', '${pageCompanyReport.pzhebiaoXishu.ranliaoyouZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.ranliaoyouZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.ranliaoyouZhebiao }" name="ranliaoyouZhebiao" id="ranliaoyouZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>液化石油气</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.yehuasyqShiwu }" name="yehuasyqShiwu" id="yehuasyqShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'yehuasyqZhebiao', '${pageCompanyReport.pzhebiaoXishu.yehuasyqZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.yehuasyqZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.yehuasyqZhebiao }" name="yehuasyqZhebiao" id="yehuasyqZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>焦炭</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.jiaotanShiwu }" name="jiaotanShiwu" id="jiaotanShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'jiaotanZhebiao', '${pageCompanyReport.pzhebiaoXishu.jiaotanZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.jiaotanZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.jiaotanZhebiao }" name="jiaotanZhebiao" id="jiaotanZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>其他焦化产品</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.qitajhcpShiwu }" name="qitajhcpShiwu" id="qitajhcpShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'qitajhcpZhebiao', '${pageCompanyReport.pzhebiaoXishu.qitajhcpZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.qitajhcpZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.qitajhcpZhebiao }" name="qitajhcpZhebiao" id="qitajhcpZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>炼厂干气</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.lcganqiShiwu }" name="lcganqiShiwu" id="lcganqiShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'lcganqiZhebiao', '${pageCompanyReport.pzhebiaoXishu.lcganqiZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.lcganqiZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.lcganqiZhebiao }" name="lcganqiZhebiao" id="lcganqiZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>其他石油制品</td>
			<td align="center">（吨）</td>
			<td><input type="text" value="${pageCompanyReport.qitasyzpShiwu }" name="qitasyzpShiwu" id="qitasyzpShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'qitasyzpZhebiao', '${pageCompanyReport.pzhebiaoXishu.qitasyzpZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.qitasyzpZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.qitasyzpZhebiao }" name="qitasyzpZhebiao" id="qitasyzpZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td>其他燃料</td>
			<td align="center">（吨标煤）</td>
			<td><input type="text" value="${pageCompanyReport.qitarlShiwu }" name="qitarlShiwu" id="qitarlShiwu" style="width: 100px; border: 0" class="easyui-numberbox" onkeyup="jisuanZhebiao(this, 'qitarlZhebiao', '${pageCompanyReport.pzhebiaoXishu.qitarlZhebiao}')">
			</td>
			<td align="center">${pageCompanyReport.pzhebiaoXishu.qitarlZhebiao}</td>
			<td><input type="text" value="${pageCompanyReport.qitarlZhebiao }" name="qitarlZhebiao" id="qitarlZhebiao" style="width: 100px; border: 0" alt="zhebiao" readonly>
			</td>
		</tr>
		<tr>
			<td align="center" colspan="4">月耗能总量（吨标准煤）</td>
			<td><input type="text" value="${pageCompanyReport.zonghaoneng }" name="zonghaoneng" id="company-report-zonghaoneng" style="width: 100px; border: 0" readonly>
			</td>
		</tr>
		<tr>
			<td rowspan="6" align="center">经济指标</td>
		</tr>
		<tr>
			<th align="center" colspan="4">产值</th>
			<th align="center">数值</th>
		</tr>
		<tr>
			<td align="center" colspan="4">销售收入</td>
			<td><input type="text" value="${pageCompanyReport.xiaoshoushouru }" name="xiaoshoushouru" id="xiaoshoushouru" style="width: 100px; border: 0" class="easyui-numberbox">
			</td>
		</tr>
		<tr>
			<td align="center" colspan="4">增加值</td>
			<td><input type="text" value="${pageCompanyReport.zengjiazhi }" name="zengjiazhi" id="zengjiazhi" style="width: 100px; border: 0" class="easyui-numberbox">
			</td>
		</tr>
		<tr>
			<td align="center" colspan="4">利锐</td>
			<td><input type="text" value="${pageCompanyReport.lirui }" name="lirui" id="lirui" style="width: 100px; border: 0" class="easyui-numberbox">
			</td>
		</tr>
		<tr>
			<td align="center" colspan="4">其中，锐金</td>
			<td><input type="text" value="${pageCompanyReport.ruijin }" name="ruijin" id="ruijin" style="width: 100px; border: 0" class="easyui-numberbox">
			</td>
		</tr>
	</table>
</form>